PEGetNthAlertInstanceInfo

Use PEGetNthAlertInstanceInfo to retrieve the PEAlertInstanceInfo structure associated with the specified Report Alert instance. The PEAlertInstanceInfo structure contains information on a specified instance of a Report Alert.

C Syntax
BOOL CRPE_API PEGetNthAlertInstanceInfo (short printJob,
                                         short alertN,
                                         DWORD instanceN,
                                         PEAlertInstanceInfo FAR *
                                     alertInstanceInfo);
Parameters

printJob

Specifies the print job from which you want to get the number of Report Alerts.

alertN

Specifies the Report Alert from which you want to get the alert instance information.

instanceN

Specifies the instance of the Report Alert from which you want to get the alert instance information.

alertInstanceInfo

Specifies a pointer to PEAlertInstanceInfo

Returns
Remarks

Currently there is no function to get the number of Report Alert instances created when a report is alert is triggered. This functionality will be implemented in a future version.

In the present build only the first instance of the Report Alert is created at runtime. This limitation will be addressed in a future release.

VB Syntax
Declare Function PEGetNthAlertInstanceInfo Lib "crpe32.dll" (ByVal 
printJob%, ByVal alertN%, ByVal instanceN As Long, alertInstanceInfo As 
PEAlertInstanceInfo) As Integer
Delphi Syntax
function PEGetNthAlertInstanceInfo(
   printJob : Smallint;
   alertN : Smallint;
   instanceN : DWord;
   var alertInstanceInfo : PEAlertInstanceInfo) : boolean stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com